<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>江门市青少年宫</title>
  <link rel="stylesheet" href="/static/layui-v2.6.3/css/layui.css">
    {% block style %}{% endblock %}
</head>
<body>

<div class="layui-layout layui-layout-admin">
  <div class="layui-header">
    <div class="layui-logo layui-hide-xs layui-bg-black"><a style="color: white" href="/admin">老师界面</a></div>
    <!-- 头部区域（可配合layui 已有的水平导航） -->
    <ul class="layui-nav layui-layout-left">
      <li class="layui-nav-item">
        <i class="layui-icon layui-icon-spread-left"></i>
      </li>
    </ul>
    <ul class="layui-nav layui-layout-right">
      <li class="layui-nav-item layui-hide layui-show-md-inline-block">
        <a href="javascript:">
          <span id="rootname">{{ user.teacher.name }}</span>
        </a>
        <dl class="layui-nav-child">
          <dd><a href="/teacher/user">用户详情</a></dd>
          <dd><a href="/user/login_out">退出登录</a></dd>
        </dl>
      </li>

      <li class="layui-nav-item" lay-header-event="menuRight" lay-unselect>
        <a href="javascript:;">
          <i class="layui-icon layui-icon-more-vertical"></i>
        </a>
      </li>
    </ul>
  </div>

  <div class="layui-side layui-bg-black">
    <div class="layui-side-scroll">
      <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
      <ul class="layui-nav layui-nav-tree" lay-filter="test">
          <li class="layui-nav-item layui-nav-itemed">
            <a href="javascript:;">班级管理</a>
            <dl class="layui-nav-child">
                <dd><a href="/teacher/class_list">查看我的班级</a></dd>
                <dd><a href="/teacher/student_list">查看我的学生</a></dd>
            </dl>
          </li>
          <li class="layui-nav-item layui-nav-itemed">
            <a href="javascript:;">考试测评</a>
            <dl class="layui-nav-child">
                <dd><a href="/teacher/test_paper_list">制作中试卷</a></dd>
                <dd><a href="/teacher/test_paper_list_1">已发布试卷</a></dd>
                <dd><a href="/teacher/test_paper_list_2">已收卷试卷</a></dd>
            </dl>
          </li>
          <li class="layui-nav-item layui-nav-itemed">
            <a href="javascript:;">班级签到</a>
            <dl class="layui-nav-child">
                <dd><a href="/teacher/sign_in_classes_url">签到表</a></dd>
{#                <dd><a href="/teacher/sign_in_log_classes_url">签到记录</a></dd>#}
            </dl>
          </li>
      </ul>
    </div>
  </div>

  <div class="layui-body">
    <!-- 内容主体区域 -->
    {% block content_main %}
        <div class="layui-container">
        </div>
    {% endblock %}

{#    <div class="layui-footer">#}
{#      &copy 江门市青少年宫#}
{#    </div>#}
  </div>
</div>

<script src="/static/layui-v2.6.3/layui.js"></script>
<script src="/static/jquery-3.4.1/jquery-3.4.1.min.js"></script>
<script src="/static/layer/layer.js"></script>

{% block script %}{% endblock %}

</body>
</html>
